import { FieldType } from "choerodon-ui/pro/lib/data-set/enum";
import { DataSetProps } from "choerodon-ui/pro/lib/data-set/DataSet";

const inputDS = (): DataSetProps => ({
  autoCreate: true,
  fields: [
    {
      name: 'prefix',
      label: '前缀',
      type: FieldType.string,
      required: true,
    },
    {
      name: 'suffix',
      label: '后缀',
      type: FieldType.string,
      required: true,
    },
    {
      name: 'sufafter',
      label: '前后缀',
      type: FieldType.string,
      required: true,
    },
    {
      name: 'textfix',
      label: '文字前后缀',
      type: FieldType.string,
      required: true,
    },
  ],
});

export default inputDS;